package cn.fsw.pethome.product.service;

import cn.fsw.pethome.product.domain.Product;
import cn.fsw.pethome.base.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fsw
 * @since 2022-10-27
 */
public interface IProductService extends IBaseService<Product> {

    Product selectByDetail(Long id);

    void offsale(List<Long> ids);

    Map<String, Object> onsale(List<Long> ids);
}
